import request from '@/utils/request'

export function LikeEmployee() {
  return request({
    url: '/personnel/like/list',
    method: 'get',
  })
}

export function isLike(empId) {
  return request({
    url: '/personnel/like/'+empId,
    method: 'get',
  })
}

export function LikeList() {
  return request({
    url: '/personnel/like/LikeList',
    method: 'get',
  })
}

export function DataLike() {
  return request({
    url: '/personnel/like/DataLike',
    method: 'get',
  })
}

export function aLiYunImage() {
  return request({
    url: '/image/aLiYunImage',
    method: 'post',
  })
}

export function mail() {
  return request({
    url: '/personnel/like/mail',
    method: 'get',
  })
}

// 获取公具信息
export function getTool(data) {
  return request({
    url: '/tools/personal_tools/list',
    method: 'get',
    params:data
  })
}

// 获取当前星期几
export function getDataCount() {
  return request({
    url: '/check/attendance/getDataCount',
    method: 'get',
  })
}
